﻿Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Navigation

Partial Public Class SignUpPage
    Inherits Page

    Public Sub New()
        Me.InitializeComponent()
        Me.DataContext = New SignUpPageViewModel()
    End Sub

    'Executes when the user navigates to this page.
    Protected Overrides Sub OnNavigatedTo(ByVal e As NavigationEventArgs)
        '清除已有的登录信息
        Application.Current.Resources.Remove("Token")
        Application.Current.Resources.Remove("UserId")
        Application.Current.Resources.Remove("UserName")
    End Sub

End Class
